package net.anzhuo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import net.anzhuo.entity.GsPunishment;

@Mapper
public interface GsPunishmentMapper {
	public GsPunishment getById(Long id);
	public List<GsPunishment> getByCoMd5(String coMd5);
	public List<GsPunishment> getByUpdateTime(GsPunishment gsPunishment);
	public List<GsPunishment> getListWithPage(GsPunishment gsPunishment);
	public List<GsPunishment> getList();
	public List<GsPunishment> getListByQuery(GsPunishment gsPunishment);
	public Integer getCount(String coMd5);
	public void update(GsPunishment gsPunishment);
	public void save(GsPunishment gsPunishment);
	public void delete(Long id);
}
